<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
<link href="{SKIN_PATH}modal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">


  <div class="main">
  
  	<div class="mod">
            <div class="head">新用户注册</div>
            <div class="body">
                
                <form action="{url("?module=member&action=qq_reg")}" method="post" name="registerform" id="registerform">
               <table width="93%" cellpadding="0" cellspacing="1" class="table_reg">
                  <tr>
                    <th width="20%" align="right">头　像：</th>
                    <td width="80%" align="left"><img src="{$arr[figureurl_2]}"/></td>
                 </tr>
                  <tr>
                    <th width="20%" align="right">QQ昵称：</th>
                    <td width="80%" align="left">{$arr[nickname]}</td>
                 </tr>
                  <tr>
                    <th width="20%" align="right">用户名</th>
                    <td width="80%" align="left">
                        <input type="text" name="memberinfo[username]" id="reg_username" value="{$arr[nickname]}" size="20" maxlength="20"  require="true" datatype="limit|ajax" url="?module={$module}&action=checkuser" min="3" max="20" msg="用户名不得少于3个字符超过20个字符|" />
                   </td>
                 </tr>
                  <tr>
                    <th align="right">密　码：</th>
                    <td align="left"><input name="memberinfo[password]" require="true" datatype="limit" min="6" max="16" msg="密码不得少于6个字符或超过16个字符！"  type="password" id="reg_password" size="20" maxlength="16" /></td>
                 </tr>
                  <tr>
                  <th align="right">密码强度：</th>
                  <td align="left">
                    <div id="pw_check_1" class="pw_check" style="display:none;"><span><strong class="c_orange">弱</strong></span><span>中</span><span>强</span></div>
                    <div id="pw_check_2" class="pw_check" style="display:none;"><span>弱</span><span><strong class="c_orange">中</strong></span><span>强</span></div>
                    <div id="pw_check_3" class="pw_check" style="display:none;"><span>弱</span><span>中</span><span><strong class="c_orange">强</strong></span></div></td>
                 </tr>
                  <tr>
                    <th align="right">确认密码：</th>
                    <td align="left"><input name="pwdconfirm" type="password" require="true" datatype="repeat" to="memberinfo[password]" msg="两次输入的密码不一致" id="pwdconfirm" size="20" maxlength="20" /></td>
                 </tr>
                  <tr>
                    <th align="right">Email地址：</th>
                    <td align="left"><input name="memberinfo[email]" type="text"  style="ime-mode:disabled" require="true" datatype="email|ajax" url="?module={$module}&action=checkemail" msg="邮件格式不正确|" id="email" size="30" />            </td>
                  </tr>
                  <tr>
                    <th align="right"></th>
                    <td align="left"> <input type="checkbox" name="regagreement" id="regagreement" checked="checked" value="1" datatype="group" min="1" max="1" require="true" msg="请选择是否同意网站协议" msgid="reg" /><a href="member/reagreement.php" id="regagree"> 阅读并同意《{$SETTING[sitename]}网络服务使用协议》</a>
                    <span id="reg" ></span></td>
                  </tr>
                  <tr>
                  <th align="right"></th>
                  <td align="left">
                        <input name="action" type="hidden" value="register" />
                        <input type="hidden" name="memberinfo[modelid]" value="{if $modelid}{$modelid}{else}10{/if}"  />
                        <input type="submit" name="dosubmit" id="registerform" value="  注  册  " />
                        <input type="reset" name="reset" value="  重  置  " />            
                    </td>
                  </tr>
                </table>
            </form> 
    
            </div>
        </div> 
  </div>
  
  <div class="aside">
  
  </div>
</div>

{template 'footer.html'}
<script language="javascript" type="text/javascript">
$().ready(function() {
	  $('form').checkForm(1);
	});


</script>
